<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<jsp:include page="/WEB-INF/jsp/common/_head.jsp"/>
<%@ include file="/WEB-INF/jsp/common/_includes.jsp" %>
<div class="ui grid">
    <div class="row">
        <div class="column">
            <div class="ui two column grid">
                <div class="three wide column">
                    <jsp:include page="/WEB-INF/jsp/common/_sidebar.jsp">
                        <jsp:param name="index" value="1501"/>
                    </jsp:include>
                </div>
                <div id="container" class="thirteen wide column">
                    <ol class="breadcrumb">
						<li><a href="/">后台管理</a></li>
						<li class="active">广告分类列表</li>
					</ol>
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th>友情链接实体ID</th>
                            <th>标题</th>
                            <th>链接地址</th>
                            <th>创建人</th>
                            <th>创建时间</th>
                            <th>更新人</th>
                            <th>更新时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <c:forEach items="${paginate.pageList}" var="friendlink">
                            <tr>
                                <td>${friendlink.id}</td>
                                <td>${friendlink.title}</td>
                                <td>${friendlink.linkUrl}</td>
                                <td>${friendlink.createUser}</td>
                                <td><fmt:formatDate value="${friendlink.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                                <td>${friendlink.updateUser}</td>
                                <td><fmt:formatDate value="${friendlink.updateTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                                <td>
                                	<a class="btn active btn-primary"  href="/friendlink/${friendlink.id}/edit">编辑</a>
                                	<input type="button" class="btn active btn-danger" id="btnDel${friendlink.id}" value="删除" >
                                </td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                    <div class="page-info clearfix">
                         <jsp:include page="/WEB-INF/jsp/common/_page.jsp"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<jsp:include page="/WEB-INF/jsp/common/_foot.jsp"></jsp:include>
<script type="text/javascript" src="/static/js/friendlink/list.js"></script>